{% extends "list_base.html" %}
{% load bootstrap3 %}
{% block title %} 任务状态 {% endblock %}
{% block table_body %}
    <table class="table">
        <thead>
        <tr>
            <th>id</th>
            <th>state</th>
            <th>task id</th>
            <th>name</th>
            <th>tstamp</th>
            <th>args</th>
            <th>kwargs</th>
            <th>eta</th>
            <th>expires</th>
            <th>result</th>
            <th>traceback</th>
            <th>runtime</th>
            <th>retries</th>
            <th>worker_id</th>
            <th>hidden</th>
        </tr>
        </thead>
        <tbody>
        {% for item in object_list %}
            <tr>
                <td>{{ item.id }}</td>
                <td>{{ item.state }}</td>
                <td>{{ item.task_id }}</td>
                <td>{{ item.name }}</td>
                <td>{{ item.tstamp }}</td>
                <td>{{ item.args }}</td>
                <td>{{ item.kwargs }}</td>
                <td>{{ item.eta }}</td>
                <td>{{ item.expires }}</td>
                <td>{{ item.result }}</td>
                <td>{{ item.traceback }}</td>
                <td>{{ item.runtime }}</td>
                <td>{{ item.retries }}</td>
                <td>{{ item.worker_id }}</td>
                <td>{{ item.hidden }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{% endblock %}
{% block script %}{% endblock %}